<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>班级</title>
    <%@ include file="/WEB-INF/views/commons/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/clazz.js"></script>
</head>
<body>
<%--数据表格--%>
<table id="clazz_datagrid" fit="true"></table>


<%--表格工具栏--%>
<div id="tb">
    <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
    <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="JavaScript:;" id="start" class="easyui-linkbutton" data-options="iconCls:'icon-lock',plain:true" data-cmd="start">启用</a>
    <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
    <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>

    <div>
        班级名或老师名:<input type="text" name="keyword" id="keyword">
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchT">查询</a>
    </div>


</div>

<%--添加和编辑弹窗--%>
<div id="edit_dialog" align="center">
    <form id="edit_form" method="post">
        <table align="center" style="margin-top: 20px;
                border-collapse:separate; border-spacing:0px 10px;">
            <input type="hidden" id="deptId" name="id">
            <tr>
                <td>班级名称:</td>
                <td><input class="easyui-textbox" name="name"/></td>
            </tr>
            <tr>
                <td>班主任:</td>
                <td><input class="easyui-combobox" name="teacher.id" data-options="
                          url:'/employee/listData.do',
                          valueField:'id',
                          textField:'username',
                          panelHeight:'auto'
                    "/>
                </td>
            </tr>
            <tr>
                <td>班级状态:</td>
                <td><input class="easyui-combobox" name="state" data-options="

                          valueField:'value',
                          textField:'text',
                          data:[

                                {

                                    text:'毕业',
                                     value:'1',

                                },{

                                    text:'未毕业',
                                    value:'0',

                                }],
                                panelHeight:'auto'
                "/>
                </td>
            </tr>
        </table>
    </form>
</div>

<%--弹窗底部按钮--%>
</div>
<div id="bb">
    <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
</div>

</body>
</html>
